package cn.cqautotest.cqviehelper.utils;

import android.util.Log;

public class LogUtils {

    private static final String TAG = "=====";
    private static final boolean IS_DEBUG = true;

    public static void d(Object object, CharSequence text) {
        if (!IS_DEBUG) return;
        Log.d(object.getClass().getSimpleName(), TAG + text);
    }

    public static void e(Object object, CharSequence text) {
        if (!IS_DEBUG) return;
        Log.e(object.getClass().getSimpleName(), TAG + text);
    }

    public static void w(Object object, CharSequence text) {
        if (!IS_DEBUG) return;
        Log.w(object.getClass().getSimpleName(), TAG + text);
    }

    public static void v(Object object, CharSequence text) {
        if (!IS_DEBUG) return;
        Log.v(object.getClass().getSimpleName(), TAG + text);
    }
    public static void i(Object object, CharSequence text) {
        if (!IS_DEBUG) return;
        Log.i(object.getClass().getSimpleName(), TAG + text);
    }
}
